/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.iboss.service.sc;

import net.dgg.dggcloud.service.iboss.dao.sc.LoanedOrderDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @class_name: LoanedOrderService
 * @package: net.dgg.dggcloud.service.iboss.service.sc;
 * @describe: 已放款订单service层
 * @creat_user: 赵有文
 * @creat_date: 2017/11/27
 **/
@Service
public class LoanedOrderService {
    @Resource
    private LoanedOrderDao loanedOrderDao;
    /**
     * 列出所有已放款订单
     * @param map
     * @return
     */
    public List<Map> listLoanedOrder(Map map) {
        return loanedOrderDao.listLoanedOrder(map);
    }
    /**
     * 查询所有已放款订单数目
     * @param map
     * @return
     */
    public Integer countLoanedOrder(Map map) {
        return loanedOrderDao.countLoanedOrder(map);
    }

}
